//
//  JXCommentView.h
//  JiaoX
//
//  Created by yinqy on 15/1/8.
//  Copyright (c) 2015年 北京娇羞科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SendFileKeyboard.h"
#define REPLY_VIEW_HEIGHT 49
@protocol JXReplyCommentViewDelegate <NSObject>

@optional
- (void)bottomViewReplyBtnClick:(NSString *)replyContent;
@end

@interface JXReplyCommentView : UIView
@property (nonatomic, weak) id<JXReplyCommentViewDelegate> delegate;
@property (nonatomic, strong) SendFileKeyboard *fileKeyboard;
-(instancetype)initWithPlaceholder:(NSString *)placeholder;
/**
 *  设置palceholder，
 *
 *  @param palceHolder 如果为空，则写设置成默认的
 */
-(void)setPlaceHolder:(NSString *)palceHolder;

-(void)setText:(NSString *)text;
/**
 * 重置键盘
 */
-(void)resetKeyBoard;

-(void)becomeFirstResponder;

/**
 *  是否显示表情与键盘切换的按钮
 */
@property (nonatomic, assign, getter = isShowEmotion) BOOL showEmotion;

/**
 *  表情按钮与键盘按钮切换，如果为true  代表显示表情按钮，键盘更改为默认键盘
 */
@property (nonatomic, assign, getter = isShowEmotionButton) BOOL showEmotionButton;


@end
